package com.zhai.domain.rebate.service;

import com.zhai.domain.rebate.model.entity.BehaviorEntity;
import com.zhai.domain.rebate.model.entity.BehaviorRebateOrderEntity;

import java.util.List;

/**
 * @Description: 行为返利接口
 * @ClassName: IBehaviorRebateService
 * @Author: zhaiyongxin
 * @Date: 2025/5/27 13:23
 * @Version: 1.0
 */
public interface IBehaviorRebateService {
    /**
     * 创建行为动作的入账订单
     * @param behaviorEntity
     * @return
     */
    List<String> createOrder(BehaviorEntity behaviorEntity);

    /* *
     * @Title: queryOrderByOutBusinessNo
     * @Author: zhaiy
     * @Date: 2025-06-04 22:15:39
     * @Params: [userId, outBusinessNo]
     * @Return: List<BehaviorEntity>
     * @Description: 根据业务防重id查询用户当前记录
     */
    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);
}
